package Files;

import java.io.InputStream;
import java.util.Properties;


public class Readpro {

	public static void main(String[] args) {
		
		Readpro read = new Readpro();
		read.Read();
		
	}
	
	
	private void Read() {
		try {
			InputStream objinputStream=getClass().getResourceAsStream("/resource/Config.properties");
			
			Properties objproperties=new Properties();
			
			objproperties.load(objinputStream);
			
			System.out.println(objproperties.getProperty("driver"));
			
			System.out.println(objproperties.getProperty("server"));
			
		} catch (Exception e) {
			// TODO: handle exception
		}
	}

}
